// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import './assets/styles/reset.css'
import './assets/js/rem.js'
import MintUI from 'mint-ui'
import 'mint-ui/lib/style.css'
import fastclick from 'fastclick'


import Echarts from 'echarts' //引入echarts
Vue.prototype.$echarts = Echarts; //把echarts绑定在vue的原型上 这样在组件里面就可以通过this.$echarts来访问了


// import mui from './assets/js/mui.min.js'
import store from './store/index'


// 兼容性
import 'babel-polyfill'
//复制
import VueClipboard from "vue-clipboard2";
Vue.use(VueClipboard);
//下拉加载
import VueScroller from 'vue-scroller'
Vue.use(VueScroller)

// import VueI18n from 'vue-i18n'

// Vue.use(VueI18n) // 通过插件的形式挂载


// const i18n = new VueI18n({
//   locale: 'zh-CN', // 语言标识
//   //this.$i18n.locale // 通过切换locale的值来实现语言切换
// })

// import './vconsole'


//md5加密
import md5 from 'js-md5';
Vue.prototype.$md5 = md5;

// Vue.prototype.$mui = mui
Vue.use(MintUI)

Vue.config.productionTip = false
fastclick.attach(document.body)

new Vue({
  el: '#app',
  router,
  store,
  components: {
    App
  },
  template: '<App/>',
  mounted() {},
  methods: {}

})
